import { reviewContext } from './_context'
import useHooks from './hooks'
import ReviewSearch from './components/ReviewSearch'
import ReviewTable from './components/ReviewTable'

export default () => {
  const hooksData = useHooks()

  return (
    <reviewContext.Provider value={hooksData}>
      <div className='layout-main-conent'>
        <ReviewSearch />
        <ReviewTable />
      </div>
    </reviewContext.Provider>
  )
}
